<!-- Search area -->
<div ng-init="ctrl.query()">
	<!-- Search area -->
	<div class=" ">
		<div class="panel-body">
			<form class="form-horizontal">
				<div class="form-group">
					<div class="col-md-2"></div>
					<div class="col-md-8">
						<div class="input-group">
							<input type="text" class="form-control" placeholder="输入文件名模糊查询" ng-model="ctrl.nameQueryParam">
							<span class="input-group-btn">
								<a class="btn btn-cys margin-left" ng-click="ctrl.query()">
									<span class="glyphicon glyphicon-search "></span>
									查询
								</a>
								<a ng-click="ctrl.reset()" type="reset" class="btn btn-default margin-left">
									<span class="glyphicon glyphicon-repeat"></span>
									重置
								</a>
							</span>
						</div>
					</div>
					<div class="col-md-2"></div>
				</div>
			</form>
		</div>
	</div>
	<!-- Search area END -->

	<!-- operation area -->
	<!-- data grid area -->
	<div style="padding-top: 10px;" class="container-fluid media">
		<table class="table table-hover table-striped">
			<tr>
				<th>文件名称</th>
				<th>文件说明</th>
				<th>上传时间</th>
				<th>下载次数</th>
				<th>操作</th>
			</tr>
			<tr ng-repeat="item in ctrl.entities.content">
				<td>{{item.name}}</td>
				<td>{{item.wjsm}}</td>
				<td title="{{item.scsj|date:'yyyy-MM-dd HH:mm'}}">{{item.scsj|date:'yyyy-MM-dd HH:mm'}}</td>
				<td>{{item.xzcs}}</td>
				<td><a href="javascript:;" ng-href="file/downloadPop?id={{item.id}}" target="_blank">下载</a>
			</tr>
		</table>
		<div class="container-fluid  navbar-form">
			<div style="padding-top: 6px;" class="pull-left">
				共有记录：
				<span>{{ctrl.entities.totalElements}}</span>
				条
			</div>
			<div class="pull-right" ng-include="':root/components/page.html'"></div>
			<!-- operation area END -->
		</div>

	</div>
	<!-- data grid area END -->
</div>